xen.git
19 years ago[IA64] live migration
awilliam@xenbuild.aw [Wed, 26 Jul 2006 15:36:36 +0000 (09:36 -0600)]
[IA64] live migration

Shadow mode and live migration.

Virtualize Dirty bit.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] increase buffer size in panic_domain().
awilliam@xenbuild.aw [Wed, 26 Jul 2006 15:02:43 +0000 (09:02 -0600)]
[IA64] increase buffer size in panic_domain().

128 bytes is too short.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years ago[IA64] fix merge error with xen-unstable.hg
awilliam@xenbuild.aw [Tue, 25 Jul 2006 18:39:01 +0000 (12:39 -0600)]
[IA64] fix merge error with xen-unstable.hg

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Tue, 25 Jul 2006 18:19:05 +0000 (12:19 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] remove unnecessary panic_domain() declarations
awilliam@xenbuild.aw [Tue, 25 Jul 2006 15:51:50 +0000 (09:51 -0600)]
[IA64] remove unnecessary panic_domain() declarations

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years agoAdd versioning info to xenstore library.
kfraser@localhost.localdomain [Tue, 25 Jul 2006 14:33:00 +0000 (15:33 +0100)]
Add versioning info to xenstore library.
From: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] gso: Fix reversed error test in netif_tx_trylock
kfraser@localhost.localdomain [Tue, 25 Jul 2006 14:21:59 +0000 (15:21 +0100)]
[NET] gso: Fix reversed error test in netif_tx_trylock

Original changelog:

    [NET]: Fix reversed error test in netif_tx_trylock

    A non-zero return value indicates success from spin_trylock,
    not error.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years agoFix memory allocation for IA64 guest on Xen-unstable.hg with new Qemu.
kfraser@localhost.localdomain [Tue, 25 Jul 2006 14:12:47 +0000 (15:12 +0100)]
Fix memory allocation for IA64 guest on Xen-unstable.hg with new Qemu.
After balloon drive ready, we can remove this line safely.

Signed-off-by:Zhang Xiantao <xiantao.zhang@intel.com>

19 years agoSplit networking GSO patch into base portion plus additions.
kfraser@localhost.localdomain [Tue, 25 Jul 2006 14:06:39 +0000 (15:06 +0100)]
Split networking GSO patch into base portion plus additions.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMake ioemu targets more robust and make ioemu clean always succeed.
chris@kneesaa.uk.xensource.com [Tue, 25 Jul 2006 13:26:54 +0000 (14:26 +0100)]
Make ioemu targets more robust and make ioemu clean always succeed.

Based on a patch by: Alex Brett <Alex.Brett@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoFix domid range check in xenmon.
kfraser@localhost.localdomain [Tue, 25 Jul 2006 10:53:29 +0000 (11:53 +0100)]
Fix domid range check in xenmon.
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoWhen installing libblktap, symlinks should be made instead of using
kfraser@localhost.localdomain [Tue, 25 Jul 2006 10:41:45 +0000 (11:41 +0100)]
When installing libblktap, symlinks should be made instead of using
install on the symlinks (install will follow the symlink)

Signed-off-by: Jeremy Katz <katzj@redhat.com>
19 years agoThe blktap commit reverted the change so that libxenstore gets
kfraser@localhost.localdomain [Tue, 25 Jul 2006 10:41:18 +0000 (11:41 +0100)]
The blktap commit reverted the change so that libxenstore gets
installed executable.  :/  Updated patch to fix things again

Signed-off-by: Jeremy Katz <katzj@redhat.com>
19 years agoVTPM_TOOLS: Updated vtpm for new release of tpm_emulator 0.4, and set
kfraser@localhost.localdomain [Tue, 25 Jul 2006 10:30:30 +0000 (11:30 +0100)]
VTPM_TOOLS: Updated vtpm for new release of tpm_emulator 0.4, and set
up easier tracking of the emulator. Also fixed a few minor bugs in the
manager.

Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com>
19 years agoFix 'make clean' when ioemu configuration failed.
kfraser@localhost.localdomain [Tue, 25 Jul 2006 10:19:48 +0000 (11:19 +0100)]
Fix 'make clean' when ioemu configuration failed.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[MINI-OS] Fix a bug which prevented map_frames being used more than once.
sos22@douglas.cl.cam.ac.uk [Tue, 25 Jul 2006 09:59:02 +0000 (10:59 +0100)]
[MINI-OS] Fix a bug which prevented map_frames being used more than once.
Found by John D. Ramsdell <ramsdell@mitre.org>

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years ago[IA64] Support domU coredump on ia64
awilliam@xenbuild.aw [Mon, 24 Jul 2006 20:26:03 +0000 (14:26 -0600)]
[IA64] Support domU coredump on ia64

This patch supports domU coredump on ia64.  xen_panic_event() is
registered to panic_notifier_list, and xen_panic_event() calls
HYPERVISOR_shutdown(SHUTDOWN_crash) at panic time.

If xend is notified of crash status, xend calls dumpCore()
and create domU's core in /var/xen/dump.

For sample crash module and usage, see:

http://lists.xensource.com/archives/html/xen-ia64-devel/2006-07/msg00230.html

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
[minor code re-arrangement]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Fix fetch code method when FP fault occurs @VTi side
awilliam@xenbuild.aw [Mon, 24 Jul 2006 19:48:12 +0000 (13:48 -0600)]
[IA64] Fix fetch code method when FP fault occurs @VTi side

This patch intends to use __vmx_get_domain_bundle to fetch code
when FP fault @VTi side.

Singed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
19 years ago[IA64] vDSO paravirtualization: paravirtualize vDSO
awilliam@xenbuild.aw [Mon, 24 Jul 2006 19:43:35 +0000 (13:43 -0600)]
[IA64] vDSO paravirtualization: paravirtualize vDSO

paravirtualize vdso areabased on Kevin's pointout and Dan's Idea.
introduce hyperprivop HYPERPRIVOP_RSM_BE and HYPERPRIVOP_GET_PSR.
and paravirtualize vdso area using them.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years ago[IA64] vDSO paravirtualization: import linux files
awilliam@xenbuild.aw [Mon, 24 Jul 2006 19:04:40 +0000 (13:04 -0600)]
[IA64] vDSO paravirtualization: import linux files

import gate.S, gate.ld.S and patch.c which are needed to
paravirtualize vdso area.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years ago[IA64] ivt.S cleanup
awilliam@lappy [Mon, 24 Jul 2006 18:57:17 +0000 (12:57 -0600)]
[IA64] ivt.S cleanup

Cleanup: unused code #ifndef XEN-ized, some insns swapped to improve
bundling.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[XEN] Fix a comment in grant_table.h.
sos22@douglas.cl.cam.ac.uk [Wed, 19 Jul 2006 20:13:36 +0000 (21:13 +0100)]
[XEN] Fix a comment in grant_table.h.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years ago[IA64] Revert xen-ia64-unstable.hg cset 10685
awilliam@xenbuild.aw [Wed, 19 Jul 2006 13:17:54 +0000 (07:17 -0600)]
[IA64] Revert xen-ia64-unstable.hg cset 10685

This reverts the following xen-ia64-unstable.hg cset:

"[IA64] emulate PAL_HALT_LIGHT on domU"
10685:8ad37880564dff8599f2f410f7bd0c54a50a29e2

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoSpawn vncviewer from qemu-dm.
chris@kneesaa.uk.xensource.com [Fri, 14 Jul 2006 17:53:27 +0000 (18:53 +0100)]
Spawn vncviewer from qemu-dm.
- add vncviewer option to qemu-dm to spawn a vncviewer process.
- add the `vncconsole' config parameter which enables qemu-dm's vncviewer
  option.

Based on a patch from: Don Dugger <donald.d.dugger@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[IA64] optimize entry and exit path
awilliam@xenbuild.aw [Fri, 14 Jul 2006 17:18:36 +0000 (11:18 -0600)]
[IA64] optimize entry and exit path

VMM save/restore r4~r7 and unat to handle virtualization fault
and mmio access, but it is not necessary for other faults to
save/restore these registers.  This patch is to save/restore
these registers only when dtlb and virtualization fault happen.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] xencons command line parameter is now an integer
awilliam@xenbuild.aw [Fri, 14 Jul 2006 17:06:38 +0000 (11:06 -0600)]
[IA64] xencons command line parameter is now an integer

'xencons' command line is now an integer, so that it can be disabled.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] optimize vpsr
awilliam@xenbuild.aw [Fri, 14 Jul 2006 17:05:40 +0000 (11:05 -0600)]
[IA64] optimize vpsr

vpsr can't keep track flowing bits of guest psr
be,up,ac,mfl,mfh,cpl,ri.
Previously every time xen gets control, xen will sync
vpsr with cr.ipsr, it's not neccessary.
Xen sync with cr.ipsr when needed.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years agoChange the qemu to allow no network arguments, removing the
chris@kneesaa.uk.xensource.com [Fri, 14 Jul 2006 14:59:24 +0000 (15:59 +0100)]
Change the qemu to allow no network arguments, removing the
"-net nic -net user" default.

Based on a patch from: Daniel Stekloff <dsteklof@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoFix some more text inconsistencies and put devices in a more sensible order.
chris@kneesaa.uk.xensource.com [Fri, 14 Jul 2006 13:18:39 +0000 (14:18 +0100)]
Fix some more text inconsistencies and put devices in a more sensible order.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[HVM] Currently in xentrace, MMIO is handled just like other page faults. The
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 13:02:59 +0000 (14:02 +0100)]
[HVM] Currently in xentrace, MMIO is handled just like other page faults. The
tracing parameters are error code and the guest virtual address.
However, if we are to analyze MMIO, tracing gpa makes more sense.

This small pactch replaces the va with gpa when tracing MMIO.

Signed-off-by: Qing He <qing.he@intel.com>
19 years ago[SVM] Add perfcounter svmexits array with correct size creation.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 13:01:25 +0000 (14:01 +0100)]
[SVM] Add perfcounter svmexits array with correct size creation.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
19 years ago[SVM] Add pit_time_fired() to svm logic, for the "many lost ticks" c/s 10650 fixes.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 13:00:55 +0000 (14:00 +0100)]
[SVM] Add pit_time_fired() to svm logic, for the "many lost ticks" c/s 10650 fixes.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
19 years ago[HVM] fix system crash when vmx guest startx or restore
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 12:59:53 +0000 (13:59 +0100)]
[HVM] fix system crash when vmx guest startx or restore
Add this safety check like alloc_l4_table
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
19 years ago[HVM] Create I/O context for MMIO/PIO processing in an
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 12:59:15 +0000 (13:59 +0100)]
[HVM] Create I/O context for MMIO/PIO processing in an
off-stack structure.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Xin B Li <xin.b.li@intel.com>
19 years agolomount: Major rewrite: handle large files and GPT partition.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 12:53:59 +0000 (13:53 +0100)]
lomount: Major rewrite: handle large files and GPT partition.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[XM-TEST] Increase timeout on hotplug-cpus-down test to 30 seconds.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 11:00:02 +0000 (12:00 +0100)]
[XM-TEST] Increase timeout on hotplug-cpus-down test to 30 seconds.
This is needed when dom0 has 32 CPUs.
Signed-off-by: Susan Krysan <krysans@unisys.com>
19 years ago[IA64] Re-enable tools/xcutils build on ia64. We now have
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:58:17 +0000 (11:58 +0100)]
[IA64] Re-enable tools/xcutils build on ia64.  We now have
save/restore working in the xen-ia64-unstable.hg thanks to some
excellent work by Tristan.  This simply splits the xcutils components
from the x86-ish linux_save/restore files in a way that should be
friendly to powerpc.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:55:34 +0000 (11:55 +0100)]
merge

19 years agoXm-test HVM network testing is broken. The new qemu code doesn't support
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:54:10 +0000 (11:54 +0100)]
Xm-test HVM network testing is broken. The new qemu code doesn't support
pcnet32, which is the current default driver loaded onto the disk.img.
This patch changes teh default to the rtl8139, which is xend's default.
This patch also adds a new "--with-network-drv" configuration option so
people can configure different drivers than the default.

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
19 years ago[PYGRUB] Typo fix in pygrub README
atse@norwich.uk.xensource.com [Fri, 14 Jul 2006 10:49:26 +0000 (11:49 +0100)]
[PYGRUB] Typo fix in pygrub README

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[XEND] Minor readability change
atse@norwich.uk.xensource.com [Fri, 14 Jul 2006 10:49:25 +0000 (11:49 +0100)]
[XEND] Minor readability change

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[XEND] Minor syntax change
atse@norwich.uk.xensource.com [Fri, 14 Jul 2006 10:49:24 +0000 (11:49 +0100)]
[XEND] Minor syntax change

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[TPM] Discard a future response packet after a timeout has occurred instead of
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:48:48 +0000 (11:48 +0100)]
[TPM] Discard a future response packet after a timeout has occurred instead of
removing the request right away.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years ago[IA64] Update the defconfigs for ia64 to disable blktap until we have a
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:46:57 +0000 (11:46 +0100)]
[IA64] Update the defconfigs for ia64 to disable blktap until we have a
chance to make it work.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] The blktap driver hardcodes PAGE_SIZE. Change it to use getpagesize(),
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:46:28 +0000 (11:46 +0100)]
[IA64] The blktap driver hardcodes PAGE_SIZE. Change it to use getpagesize(),
thereby allowing it to build on ia64.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Libaio 0.3.104 in xen-unstable doesn't build on ia64.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 10:45:15 +0000 (11:45 +0100)]
[IA64] Libaio 0.3.104 in xen-unstable doesn't build on ia64.
This updates to 0.3.106, which does build.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoFix typo in description of XEN_BLKDEV_TAP
kfraser@localhost.localdomain [Fri, 14 Jul 2006 10:43:57 +0000 (11:43 +0100)]
Fix typo in description of XEN_BLKDEV_TAP
Signed-off-by: Horms <horms@verge.net.au>
19 years ago[IA64] Fix the ia64 build.
kfraser@localhost.localdomain [Fri, 14 Jul 2006 09:49:05 +0000 (10:49 +0100)]
[IA64] Fix the ia64 build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[powerpc] Initial checkin of new powerpc files.
kfraser@localhost.localdomain [Fri, 14 Jul 2006 09:47:50 +0000 (10:47 +0100)]
[powerpc] Initial checkin of new powerpc files.
From: Hollis Blanchard et al (IBM)
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRemove CONFIG_PLAN9. Unused.
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:38:25 +0000 (10:38 +0100)]
Remove CONFIG_PLAN9. Unused.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[powerpc] add PowerPC support to libxc
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:37:12 +0000 (10:37 +0100)]
[powerpc] add PowerPC support to libxc
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[powerpc] support additional interrupt controller types in xen/arch/x86/irq.c
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:31:36 +0000 (10:31 +0100)]
[powerpc] support additional interrupt controller types in xen/arch/x86/irq.c
PowerPC #includes xen/arch/x86/irq.c, so we need to support MPIC interrupt
controllers here.
From: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[powerpc] print page->count_info as unsigned long
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:23:52 +0000 (10:23 +0100)]
[powerpc] print page->count_info as unsigned long
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[powerpc] [xend] PPC doesn't support ballooning yet
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:23:04 +0000 (10:23 +0100)]
[powerpc] [xend] PPC doesn't support ballooning yet
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[powerpc] add PowerPC support to Makefiles
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:22:40 +0000 (10:22 +0100)]
[powerpc] add PowerPC support to Makefiles
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[powerpc] add arch-powerpc.h to xen.h
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:21:57 +0000 (10:21 +0100)]
[powerpc] add arch-powerpc.h to xen.h
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[powerpc] add PowerPC files to .hgignore
kaf24@firebug.cl.cam.ac.uk [Fri, 14 Jul 2006 09:21:28 +0000 (10:21 +0100)]
[powerpc] add PowerPC files to .hgignore
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years agoxend save/restore fix, only matches one device type (vbd or tap) on creation of vm.
jchesterfield@wicket.uk.xensource.com [Thu, 13 Jul 2006 14:33:08 +0000 (15:33 +0100)]
xend save/restore fix, only matches one device type (vbd or tap) on creation of vm.

19 years agoUpdate ignores after blktap checkin (-unstable cset 10677:2937703f0ed0)
shand@kneesaa.uk.xensource.com [Thu, 13 Jul 2006 10:05:16 +0000 (11:05 +0100)]
Update ignores after blktap checkin (-unstable cset 10677:2937703f0ed0)

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[IOEMU] Enable gui_timer unless the display is exported over VNC.
chris@kneesaa.uk.xensource.com [Thu, 13 Jul 2006 09:27:08 +0000 (10:27 +0100)]
[IOEMU] Enable gui_timer unless the display is exported over VNC.

Based on bug report from: Huang2, Wei <Wei.Huang2@amd.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoAdded blktap support. Includes kernel driver (enabled as CONFIG_XEN_BLKDEV_TAP=y...
jchesterfield@dhcp92.uk.xensource.com [Thu, 13 Jul 2006 09:13:26 +0000 (10:13 +0100)]
Added blktap support. Includes kernel driver (enabled as CONFIG_XEN_BLKDEV_TAP=y) and userspace tools. The userspace deamon (blktapctrl) is enabled by default when xend is activated. For further information on using and configuring blktap see tools/blktap/README.

19 years ago[XEN] Clean up page-fault propagation when acessing guest addresses.
kfraser@localhost.localdomain [Thu, 13 Jul 2006 08:55:14 +0000 (09:55 +0100)]
[XEN] Clean up page-fault propagation when acessing guest addresses.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] do not purge vhpt when emulation itr
awilliam@xenbuild.aw [Wed, 12 Jul 2006 19:26:09 +0000 (13:26 -0600)]
[IA64] do not purge vhpt when emulation itr

It's safe for linux not to purge vhpt when emulating itr,
otherwise there is considerable performance loss

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] enable acceleration of external interrupt
awilliam@xenbuild.aw [Wed, 12 Jul 2006 19:20:15 +0000 (13:20 -0600)]
[IA64] enable acceleration of external interrupt

This patch is to enable acceleration of externel interrupt
which is described in VTI spec.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years agoUpdate xend to support vnc configuration for qemu 0.8.1 based ioemu.
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 18:16:14 +0000 (19:16 +0100)]
Update xend to support vnc configuration for qemu 0.8.1 based ioemu.
Also add vncdisplay= option which allows setting the display number
instead of using the default display number (= domid).

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoUpdate xend to support network configuration for qemu 0.8.1 based ioemu.
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 18:16:12 +0000 (19:16 +0100)]
Update xend to support network configuration for qemu 0.8.1 based ioemu.
Remove the ne2000 option, the network device type can now be selected
on a per-device basis by adding a model= property to the device's entry
in the vif list.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoAdd qemu 0.8.1 based ioemu.
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 18:16:10 +0000 (19:16 +0100)]
Add qemu 0.8.1 based ioemu.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoRemove qemu 0.6.1 based ioemu.
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 18:16:07 +0000 (19:16 +0100)]
Remove qemu 0.6.1 based ioemu.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoRevert c/s 10651: "prevent double uuid use". Breaks localhost
kfraser@localhost.localdomain [Wed, 12 Jul 2006 15:34:39 +0000 (16:34 +0100)]
Revert c/s 10651: "prevent double uuid use". Breaks localhost
migration, since old and new domains can coexist at same time
with same uuid.

Possibly this patch could be accepted if xend were to be able to
deal with localhost migration (and save/restore, which can also
occasionally race).

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd linux config update script and native linux build.
ack@localhost.localdomain [Wed, 12 Jul 2006 10:58:40 +0000 (11:58 +0100)]
Add linux config update script and native linux build.
Update script generates linux config files from others, reducing
the burden of maintaining multiple parallel files.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
19 years agoIfdef stuff that is XEN specific in patches
ack@localhost.localdomain [Wed, 12 Jul 2006 10:55:10 +0000 (11:55 +0100)]
Ifdef stuff that is XEN specific in patches
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
19 years agoMake ioemu dir configurable and change prefix to /usr (works with old and new ioemu).
chris@kneesaa.uk.xensource.com [Wed, 12 Jul 2006 09:33:37 +0000 (10:33 +0100)]
Make ioemu dir configurable and change prefix to /usr (works with old and new ioemu).

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[IA64] change default to use xencons, disable dom0 serial driver
awilliam@xenbuild.aw [Tue, 11 Jul 2006 18:56:27 +0000 (12:56 -0600)]
[IA64] change default to use xencons, disable dom0 serial driver

This enables xencons by default.  Serial console users should no longer
need to specify creative values for xenconsole= and console= on the
boot command line.  By default, xencons will use ttyS0, so make sure
dom0 has a getty running on that device.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] fix usage of ia64_xen_vector
awilliam@xenbuild.aw [Tue, 11 Jul 2006 18:53:04 +0000 (12:53 -0600)]
[IA64] fix usage of ia64_xen_vector

Must look up the vector via the GSI to test if it's in use.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Save & restore.
awilliam@xenbuild.aw [Tue, 11 Jul 2006 18:51:18 +0000 (12:51 -0600)]
[IA64] Save & restore.

xc_ia64_linux_save.c and xc_ia64_linux_restore.c added.
vcpu context has more registers and states (eg: tr registers).
Per cpu irqs are deallocated when cpu is switched off.
#if/#endif added in reboot.c for ia64.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] Creates tools/libxc/ia64 directory.
awilliam@xenbuild.aw [Tue, 11 Jul 2006 17:29:25 +0000 (11:29 -0600)]
[IA64] Creates tools/libxc/ia64 directory.

Split and move xc_ia64_stubs.c into ia64/xc_ia64_hvm_build.c and
ia64/xc_ia64_stubs.c
Creates ia64/Makefile.
Clean up (static in const) in xc_ia64_hvm_build.c

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
[whitespace cleanups in new files]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] don't change NaTPAGE into WB
awilliam@xenbuild.aw [Mon, 10 Jul 2006 20:14:11 +0000 (14:14 -0600)]
[IA64] don't change NaTPAGE into WB

Xen/IA64 changes memory attributes of tlb into WB to prevent domU from
uncachable access.  But NaTPage attribute need not to be changed to WB.
Linux uses NaTPage attributes.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
`

19 years ago[IA64] remove duplicated console_endboot().
awilliam@xenbuild.aw [Mon, 10 Jul 2006 20:12:47 +0000 (14:12 -0600)]
[IA64] remove duplicated console_endboot().

There are two. one is in construct_dom0() and another is in start_kernel()
Like x86, left the one in start_kernel()

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years ago[IA64] fix vcpu_itr_i(), vcpu_itr_d() and vcpu_flush_tlb_vhpt_range() callers
awilliam@xenbuild.aw [Mon, 10 Jul 2006 20:11:44 +0000 (14:11 -0600)]
[IA64] fix vcpu_itr_i(), vcpu_itr_d() and vcpu_flush_tlb_vhpt_range() callers

- vcpu_itr_i() and vcpu_itr_d() must purge vTLB entry which overlaps the
  new inserted entry.
- some address argument of vcpu_flush_tlb_vhpt_range() was wrong.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years ago[IA64] clean up linux-xen/tlb.c compiler warnings
awilliam@xenbuild.aw [Mon, 10 Jul 2006 20:08:36 +0000 (14:08 -0600)]
[IA64] clean up linux-xen/tlb.c compiler warnings

Signed-off-by: Al Stone <ahs3@fc.hp.com>
19 years ago[IA64] clean up pal_emul.c compiler warnings
awilliam@xenbuild.aw [Mon, 10 Jul 2006 19:53:17 +0000 (13:53 -0600)]
[IA64] clean up pal_emul.c compiler warnings

This patch cleans up some compiler warnings in pal_emul.c.  The
problem was that a struct ia64_pal_retval was being used to return
the results from emulated PAL calls, but not all of the fields
were being initialized.  Given that fields were not initialized,
I was also thinking that there might be a remote chance of data
leaking between vcpu's -- but I haven't convinced myself that
that could actually happen.

Signed-off-by: Al Stone <ahs3@fc.hp.com>
[whitespace and line wrapping cleanup throughout file]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] emulate PAL_HALT_LIGHT on domU
awilliam@xenbuild.aw [Mon, 10 Jul 2006 19:12:41 +0000 (13:12 -0600)]
[IA64] emulate PAL_HALT_LIGHT on domU

This patch emulates Guest PAL_HALT_LIGHT on domU by using do_block and timer.
It also adds the function of the timer interrupt to domU at the vcpu woke up.

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
[warning fixes and static inlining]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[VMXASSIST] Include all rodata sections into text section.
chris@kneesaa.uk.xensource.com [Mon, 10 Jul 2006 17:35:07 +0000 (18:35 +0100)]
[VMXASSIST] Include all rodata sections into text section.
Some versions of ld put non-matched sections into random locations otherwise.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[HVM][VMX] Clean up some writes to 64-bit VMCS fields in 32-bit Xen.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:47:28 +0000 (17:47 +0100)]
[HVM][VMX] Clean up some writes to 64-bit VMCS fields in 32-bit Xen.
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoCheck attributes of page table level 3 entries for 4 level HVM guest.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:40:27 +0000 (17:40 +0100)]
Check attributes of page table level 3 entries for 4 level HVM guest.
Removed aound tailing spaces.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years agoShared libs have traditionally been installed as executables due to
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:38:41 +0000 (17:38 +0100)]
Shared libs have traditionally been installed as executables due to
some
long ago accidents of implementation in historical Unixes.  And there
are various tools which "expect" it (... and this is why they get
created as executable by default by ld).

Switching to INSTALL_LIB here although I think the whole "define all
the
ways you're going to use install" in this makefile a _smidge_ overkill

Signed-off-by: Jeremy Katz <katzj@redhat.com>
19 years agoMove the content of the script file vtpm-addtodb into the
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:36:41 +0000 (17:36 +0100)]
Move the content of the script file vtpm-addtodb into the
vtpm-common.sh
script. The newly created function 'vtpm_add_and_activate' also
assigns
the instance number to the xenstore entry to activate the backend.
Renaming of isLocalAddress function to vtpm_isLocalAddress.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years ago[LINUX] Define dma_get_cache_alignment even on x86/64.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:33:45 +0000 (17:33 +0100)]
[LINUX] Define dma_get_cache_alignment even on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XM][ACM] Add xm subcommands to work with security resource labels.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:18:07 +0000 (17:18 +0100)]
[XM][ACM] Add xm subcommands to work with security resource labels.

This patch adds new xm subcommands to support working with resource
labels.  The new subcommands are 'xm resources', 'xm rmlabel', 'xm
getlabel' and 'xm dry-run'.  In addition, the 'xm addlabel' subcommand
now uses an updated syntax to support labeling both domains and
resources.  See the xm man page for details on each subcommand.

Beyond the new subcommands, this patch allows users to immediately see
when security checks will fail by pushing some basic security checking
into the beginning of 'xm create' and 'xm block-attach'.  ACM security
attributes for block devices are added to XenStore in order to support
the final security enforcement, which will be performed in the kernel
and included in a separate patch.

Signed-off-by: Bryan D. Payne <bdpayne@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
19 years ago[XENTRACE] Remember number of lost trace records when
kfraser@localhost.localdomain [Mon, 10 Jul 2006 16:05:44 +0000 (17:05 +0100)]
[XENTRACE] Remember number of lost trace records when
trace buffer is full and write a 'number of lost records'
entry when space becomes available.
From: Rob Gardner <rob.gardner@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoDomain ID/index mapping in xenmon.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 15:09:20 +0000 (16:09 +0100)]
Domain ID/index mapping in xenmon.

This patch addresses the problem of xenbaked/xenmon not dealing with
large domain ID's. Xen Domain ID's increase monotonically as domains
are created; The ID's are not (often) recycled. Xenbaked was using the
domain
ID's as indices to arrays of data, and this scheme blows up as soon as
a domain ID exceeds the array size. Code has been changed in xenbaked
and xenmon to isolate domain id's from array indices, so everything is
indirect. Users should not notice any difference in behavior.

From: Rob Gardner <rob.gardner@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XENOPROF] Some fixes for xenoprof passive domain support.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 15:05:44 +0000 (16:05 +0100)]
[XENOPROF] Some fixes for xenoprof passive domain support.

Currently, passive domain samples are being assigned to the wrong
kernel functions. This patch fixes this problem. In addition the patch changes the
encoding of domain switch ESCAPE codes (marks used to separate samples
in oprofile  buffers associated with different domains). Instead of
using 2 codes, one  for START and one for END of passive domain
samples, a single escape CODE value is used to indicate a domain switch (no
need for a STOP followed by a START). Finally there some other minor style
fixes.

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
19 years ago[XEND] Currently a domain's maxmem value is being set with the memory value
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:57:56 +0000 (15:57 +0100)]
[XEND] Currently a domain's maxmem value is being set with the memory value
even if the user specifies maxmem in config.  This patch uses maxmem
value to set maxmem instead of memory.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
19 years ago[VTPM_Tools] Support for (non-local) Migration added. Local migration
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:38:49 +0000 (15:38 +0100)]
[VTPM_Tools] Support for (non-local) Migration added. Local migration
works provided that the hotplug scripts deliver the "suspend" before
the "resume," but this is not always true.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com>
19 years ago[NET] net-gso.patch: Fix up GSO packets with broken checksums
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:36:04 +0000 (15:36 +0100)]
[NET] net-gso.patch: Fix up GSO packets with broken checksums

Here is the original changelog:

   [NET] gso: Fix up GSO packets with broken checksums

   Certain subsystems in the stack (e.g., netfilter) can break the
   partial
   checksum on GSO packets.  Until they're fixed, this patch allows
   this to
   work by recomputing the partial checksums through the GSO
   mechanism.

   Once they've all been converted to update the partial checksum
   instead of
   clearing it, this workaround can be removed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years ago[XENCONSOLE] reference of tty->count in xencons_close() is racy.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:23:15 +0000 (15:23 +0100)]
[XENCONSOLE] reference of tty->count in xencons_close() is racy.
It must be protected by tty_sem semaphore like con_close() in
drivers/char/vt.c. and prevent re-opening this tty.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEND] Fix a couple of error-message typos.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:18:53 +0000 (15:18 +0100)]
[XEND] Fix a couple of error-message typos.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[XEND] Improve xm pause/unpause error reporting.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:18:12 +0000 (15:18 +0100)]
[XEND] Improve xm pause/unpause error reporting.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[XEND] Prevent uuid double use.
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:10:00 +0000 (15:10 +0100)]
[XEND] Prevent uuid double use.

A check_uuid() in this patch checks on uuid of the
VM configuration definition. If specified uuid is
already used with the others VM, the xm create command
does not create the VM. The xm create command error occurs.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[HVM] Fix "Many lost ticks" warning in ia32e guest
kfraser@localhost.localdomain [Mon, 10 Jul 2006 14:01:49 +0000 (15:01 +0100)]
[HVM] Fix "Many lost ticks" warning in ia32e guest
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>